package com.runvp.common.enums;


/**
 * 数据来源(android:安卓,ios:ios,wechat:小程序,web:web)
 * @author xukk_dp
 */

public enum DataSource implements BaseEnumInterface {

    CLOUD_CARD_CENTER("cloudCardCenter", "云卡中心"),
    PLAT_CREATE("platCreate", "平台创建"),
    WECHAT("wechat", "小程序"),
    ALIPAY("alipay", "支付宝"),
    ANDROID("android", "安卓"),
    IOS("ios", "ios"),
    WEB("web", "web");

    private final String code;
    private final String desc;
    private String defaulted;

    DataSource(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    DataSource(String code, String desc, String defaulted) {
        this.code = code;
        this.desc = desc;
        this.defaulted = defaulted;
    }

    @Override
    public String getCode() {
        return code;
    }
    @Override
    public String getDesc() {
        return desc;
    }

    @Override
    public String getDefaulted() {
        return defaulted;
    }
}
